package com.hyzx.qbasic.admin.domain.repository;

import com.github.pagehelper.PageInfo;
import com.hyzx.qbasic.admin.model.po.SysJobPO;

import java.util.List;

/**
 * 仓储接口
 *
 * @author 黄江华
 * @since 2019-03-19
 */

public interface ISysJobRepository {

    PageInfo<SysJobPO> getPagedSysJobList(int pageNum, int pageSize, String beanName);

    SysJobPO getSysJobById(Integer jobId);

    List<SysJobPO> getSysJobListByStatus(Integer jobStatus);

    boolean addSysJob(SysJobPO record);

    boolean editSysJob(SysJobPO record);

    boolean deleteSysJobByIds(List<Integer> idList);
}


